#{extends 'front_main.html' /}
  <!-- main部分 -->
  <div class="main-newsdate">
    <div class="layui-container">
      <p class="news"><a href="/" alt="&{'tag_title'}" title="&{'tag_title'}">首页</a> >
        #{if params.get("am")=="product"}
            <a href="/${request.controller +"/"}${params.get("am")}" alt="&{'tag_title'}" title="&{'tag_title'}">产品中心</a>
        #{/if}
        #{elseif params.get("am")=="news"}
            <a href="/${request.controller +"/"}${params.get("am")}" alt="&{'tag_title'}" title="&{'tag_title'}">新闻动态</a>
        #{/elseif}

          > 详情</p>
      <h1>${obj?.title}</h1>
      <p style="border: 1px dashed #c2c2c2; padding:10px 10px 10px 10px;text-align: left;">
      ${obj?.summary}
      </p>
      <div style="font-size: 18px; padding-top: 20px; text-align: left;">
        ${obj?.content.raw()}
      </div>
    </div>
    <div style="border: 0px solid red; height: 20px;">
    </div>
  </div>
<script>
    layui.use(['laydate','layer'], function(){
        var laydate = layui.laydate;
        var layer = layui.layer;
        layer.ready(function(){ //为了layer.ext.js加载完毕再执行
            layer.photos({
                photos: 'img'
                //,shift: 5 //0-6的选择，指定弹出图片动画类型，默认随机
            });
        });
    });
</script>
<!-- footer部分 -->
<script src="/public/assets/res/SyntaxHighlighter/shCore.js"></script>
<script type="text/javascript">
    SyntaxHighlighter.all();
</script>